<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>v-model指令双向绑定</title>
<script src="../js/vue.js"></script>
</head>
<body>
<input type="text" v-model="msg">
 <p>{{msg}}</p >
 </div>
<br>
<script>
 let app=new Vue({
 el:"#app",
 data:{
msg:'hello world'
 }
})
 </script>

</body>
</html>